<template>
    <div>
        {{hello()}}
    </div>
</template>

<script lang="tsx">
import {Component, Vue} from 'vue-property-decorator'
import {Log} from "./decorators.js";


@Component
export default class App extends Vue {

    @Log // 不知道这里为什么不报错
    hello() {

    }

}
</script>

<style>
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
}
</style>
